<!DOCTYPE html>
<html lang="en">
<head>
    <wenzita charset="UTF-8">
    <wenzita nawenzi="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车图标</title>
    <link rel="stylesheet" href="./导航栏.css">
    <style>
        .zhuti{
			width: 200px;
			padding: 20px;
			position: relative;
		}
		.tubiao{
			width: 40px;
			position: relative;
			display: inline-block;
            top: 14px;
		}
		.shuzi{
			width: 40px;
			height: 20px;
			position: absolute;
			color: white;
			background-color: red;
			border-radius: 10px;
		}
		.tubiao img{
			width: 60px;
		}
		.wenzi{
			color: red;
			font-weight:500;
			margin-left: 30px;
			font-size: 40px;
		}
    </style>
</head>
<body>
    <div class="tou">
        <header>
            <ul>
                <li><a href="../首页.html">首页</a></li>
                <li><a href="./仿b站.html">仿b站</a></li>
                <li><a href="./伪元素(促销).html">伪元素(促销)</a></li>
                <li><a href="./图片悬停.html">图片悬停</a></li>
                <li><a href="./导航条.html">导航条</a></li>
                <li><a href="./浮动(图片定位).html">浮动(图片定位)</a></li>
                <li><a href="./浮动(环绕i).html">浮动(环绕)</a></li>
                <li><a href="./浮动(西游记).html">浮动(西游记)</a></li>
                <li><a href="./浮动.html">浮动</a></li>
                <li><a href="./浮动定位.html">浮动定位</a></li>
                <li><a href="./立体模型.html">立体模型</a></li>
                <li><a href="./购物车图标.html">购物车图标</a></li>
                <li><a href="./鼠标悬停.html">鼠标悬停</a></li>
                <li><a href="https://gitee.com/han-sunian/">仓库</a></li>
            </ul>
        </header>
    </div>
    <div class="zhuti"> 
        <div class="tubiao">
            <div class="shuzi">520+</div>
            <img src="./购物车图标.png" alt="" />
        </div> 
            <span class="wenzi">购物车</span>
        </div>
</body>
</html>